package com.jmlee.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 用户收货地址
 * @Author jmLee
 * @Date 2021/3/6 22:37
 * @Version 1.0
 */
public class UserAddress {

    private Long id;
    private Long userId;
    private String receiver;    // 收件人姓名
    private String mobile;      // 收件人手机号
    private String province;    // 省份
    private String city;        // 城市
    private String district;    // 区县
    private String detail;      // 详细地址
    private String extand;      // 扩展字段
    private Integer isDefault;  // 是否默认地址 1:是  0:否',
    private BigDecimal longitude;  // 经度
    private BigDecimal latitude;   // 纬度
    private Date createdTime;

    public UserAddress() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getExtand() {
        return extand;
    }

    public void setExtand(String extand) {
        this.extand = extand;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
